package com.site.wisdom_construction.entity.personnelModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-05 
 */
@ApiModel (value ="临时工表实体类",description = "TemporaryWorkers")
public class TemporaryWorkers {
	/**
	 * 临时工表id
	 */
   	@ApiModelProperty(value = "临时工表id", name = "id")
	private Integer id;

	/**
	 * 姓名
	 */
   	@ApiModelProperty(value = "姓名", name = "workerName")
	private String workerName;

	/**
	 * 照片
	 */
   	@ApiModelProperty(value = "照片", name = "workerImg")
	private String workerImg;

	/**
	 * 身份证正面图片
	 */
	@ApiModelProperty(value = "身份证正面图片", name = "workerCardImgZ")
	private String workerCardImgZ;

	/**
	 * 身份证反面图片
	 */
	@ApiModelProperty(value = "身份证反面图片", name = "workerCardImgF")
	private String workerCardImgF;

	/**
	 * 年龄
	 */
   	@ApiModelProperty(value = "年龄", name = "workerAge")
	private Integer workerAge;

	/**
	 * 性别
	 */
   	@ApiModelProperty(value = "性别", name = "workerSex")
	private String workerSex;

	/**
	 * 名族
	 */
   	@ApiModelProperty(value = "民族", name = "workerNation")
	private String workerNation;

	/**
	 * 身份证号
	 */
   	@ApiModelProperty(value = "身份证号", name = "workerCard")
	private String workerCard;

	/**
	 * 身份证地址
	 */
   	@ApiModelProperty(value = "身份证地址", name = "workerAddress")
	private String workerAddress;

	/**
	 * 身份证地址
	 */
	@ApiModelProperty(value = "省", name = "provinceName")
	private String provinceName;

	/**
	 * 身份证地址
	 */
	@ApiModelProperty(value = "市", name = "cityName")
	private String cityName;

	/**
	 * 身份证地址
	 */
	@ApiModelProperty(value = "区", name = "districtName")
	private String districtName;

	/**
	 * 二维码
	 */
   	@ApiModelProperty(value = "二维码", name = "workerCode")
	private String workerCode;

	/**
	 * 居住地址
	 */
   	@ApiModelProperty(value = "居住地址", name = "residentialAddress")
	private String residentialAddress;

	/**
	 * 籍贯
	 */
   	@ApiModelProperty(value = "籍贯", name = "workerProvince")
	private String workerProvince;

	/**
	 * 手机号
	 */
   	@ApiModelProperty(value = "手机号", name = "workerPhone")
	private String workerPhone;

	/**
	 * 政治面貌
	 */
   	@ApiModelProperty(value = "政治面貌", name = "politicsStatus")
	private String politicsStatus;

	/**
	 * 紧急联系人
	 */
   	@ApiModelProperty(value = "紧急联系人", name = "sosName")
	private String sosName;

	/**
	 * 紧急联系人手机号
	 */
   	@ApiModelProperty(value = "紧急联系人手机号", name = "sosPhone")
	private String sosPhone;

	/**
	 * 紧急联系人关系
	 */
   	@ApiModelProperty(value = "紧急联系人关系", name = "sosRelation")
	private String sosRelation;

	/**
	 * 项目ID
	 */
   	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 分包单位ID
	 */
   	@ApiModelProperty(value = "分包单位ID", name = "subcontractorsId")
	private Integer subcontractorsId;

	/**
	 * 分包单位名称
	 */
	@ApiModelProperty(value = "分包单位名称", name = "subcontractorsName")
	private String subcontractorsName;

	/**
	 * 工种ID
	 */
   	@ApiModelProperty(value = "工种ID", name = "professionId")
	private Integer professionId;

	/**
	 * 工种名称
	 */
	@ApiModelProperty(value = "工种名称", name = "professionName")
	private String professionName;

	/**
	 * 班组ID
	 */
   	@ApiModelProperty(value = "班组ID", name = "teamId")
	private Integer teamId;

	/**
	 * 班组ID
	 */
	@ApiModelProperty(value = "班组名称", name = "teamName")
	private String teamName;

	/**
	 * 入场时间
	 */
	@ApiModelProperty(value = "入场时间", name = "entryDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date entryDate;

	/**
	 * 离场时间
	 */
	@ApiModelProperty(value = "离场时间", name = "leaveDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date leaveDate;

	/**
	 * 进场状态(0:离场 1:在场)
	 */
	@ApiModelProperty(value = "进场状态(0:退场 1:进场)", name = "sceneStatus")
	private String sceneStatus;

	/**
	 * 备注
	 */
   	@ApiModelProperty(value = "备注", name = "remark")
	private String remark;

	public TemporaryWorkers(){ super(); }

	public TemporaryWorkers(Integer id, String workerName, String workerImg, String workerCardImgZ, String workerCardImgF, Integer workerAge, String workerSex, String workerNation, String workerCard, String workerAddress, String provinceName, String cityName, String districtName, String workerCode, String residentialAddress, String workerProvince, String workerPhone, String politicsStatus, String sosName, String sosPhone, String sosRelation, Integer projectId, Integer subcontractorsId, String subcontractorsName, Integer professionId, String professionName, Integer teamId, String teamName, Date entryDate, Date leaveDate, String sceneStatus, String remark) {
		this.id = id;
		this.workerName = workerName;
		this.workerImg = workerImg;
		this.workerCardImgZ = workerCardImgZ;
		this.workerCardImgF = workerCardImgF;
		this.workerAge = workerAge;
		this.workerSex = workerSex;
		this.workerNation = workerNation;
		this.workerCard = workerCard;
		this.workerAddress = workerAddress;
		this.provinceName = provinceName;
		this.cityName = cityName;
		this.districtName = districtName;
		this.workerCode = workerCode;
		this.residentialAddress = residentialAddress;
		this.workerProvince = workerProvince;
		this.workerPhone = workerPhone;
		this.politicsStatus = politicsStatus;
		this.sosName = sosName;
		this.sosPhone = sosPhone;
		this.sosRelation = sosRelation;
		this.projectId = projectId;
		this.subcontractorsId = subcontractorsId;
		this.subcontractorsName = subcontractorsName;
		this.professionId = professionId;
		this.professionName = professionName;
		this.teamId = teamId;
		this.teamName = teamName;
		this.entryDate = entryDate;
		this.leaveDate = leaveDate;
		this.sceneStatus = sceneStatus;
		this.remark = remark;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getWorkerName() {
		return workerName;
	}

	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}

	public String getWorkerImg() {
		return workerImg;
	}

	public void setWorkerImg(String workerImg) {
		this.workerImg = workerImg;
	}

	public String getWorkerCardImgZ() {
		return workerCardImgZ;
	}

	public void setWorkerCardImgZ(String workerCardImgZ) {
		this.workerCardImgZ = workerCardImgZ;
	}

	public String getWorkerCardImgF() {
		return workerCardImgF;
	}

	public void setWorkerCardImgF(String workerCardImgF) {
		this.workerCardImgF = workerCardImgF;
	}

	public Integer getWorkerAge() {
		return workerAge;
	}

	public void setWorkerAge(Integer workerAge) {
		this.workerAge = workerAge;
	}

	public String getWorkerSex() {
		return workerSex;
	}

	public void setWorkerSex(String workerSex) {
		this.workerSex = workerSex;
	}

	public String getWorkerNation() {
		return workerNation;
	}

	public void setWorkerNation(String workerNation) {
		this.workerNation = workerNation;
	}

	public String getWorkerCard() {
		return workerCard;
	}

	public void setWorkerCard(String workerCard) {
		this.workerCard = workerCard;
	}

	public String getWorkerAddress() {
		return workerAddress;
	}

	public void setWorkerAddress(String workerAddress) {
		this.workerAddress = workerAddress;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getDistrictName() {
		return districtName;
	}

	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}

	public String getWorkerCode() {
		return workerCode;
	}

	public void setWorkerCode(String workerCode) {
		this.workerCode = workerCode;
	}

	public String getResidentialAddress() {
		return residentialAddress;
	}

	public void setResidentialAddress(String residentialAddress) {
		this.residentialAddress = residentialAddress;
	}

	public String getWorkerProvince() {
		return workerProvince;
	}

	public void setWorkerProvince(String workerProvince) {
		this.workerProvince = workerProvince;
	}

	public String getWorkerPhone() {
		return workerPhone;
	}

	public void setWorkerPhone(String workerPhone) {
		this.workerPhone = workerPhone;
	}

	public String getPoliticsStatus() {
		return politicsStatus;
	}

	public void setPoliticsStatus(String politicsStatus) {
		this.politicsStatus = politicsStatus;
	}

	public String getSosName() {
		return sosName;
	}

	public void setSosName(String sosName) {
		this.sosName = sosName;
	}

	public String getSosPhone() {
		return sosPhone;
	}

	public void setSosPhone(String sosPhone) {
		this.sosPhone = sosPhone;
	}

	public String getSosRelation() {
		return sosRelation;
	}

	public void setSosRelation(String sosRelation) {
		this.sosRelation = sosRelation;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getSubcontractorsId() {
		return subcontractorsId;
	}

	public void setSubcontractorsId(Integer subcontractorsId) {
		this.subcontractorsId = subcontractorsId;
	}

	public String getSubcontractorsName() {
		return subcontractorsName;
	}

	public void setSubcontractorsName(String subcontractorsName) {
		this.subcontractorsName = subcontractorsName;
	}

	public Integer getProfessionId() {
		return professionId;
	}

	public void setProfessionId(Integer professionId) {
		this.professionId = professionId;
	}

	public String getProfessionName() {
		return professionName;
	}

	public void setProfessionName(String professionName) {
		this.professionName = professionName;
	}

	public Integer getTeamId() {
		return teamId;
	}

	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	public Date getEntryDate() {
		return entryDate;
	}

	public void setEntryDate(Date entryDate) {
		this.entryDate = entryDate;
	}

	public Date getLeaveDate() {
		return leaveDate;
	}

	public void setLeaveDate(Date leaveDate) {
		this.leaveDate = leaveDate;
	}

	public String getSceneStatus() {
		return sceneStatus;
	}

	public void setSceneStatus(String sceneStatus) {
		this.sceneStatus = sceneStatus;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", workerName='" + workerName + '\'' +
				", workerImg='" + workerImg + '\'' +
				", workerCardImgZ='" + workerCardImgZ + '\'' +
				", workerCardImgF='" + workerCardImgF + '\'' +
				", workerAge=" + workerAge +
				", workerSex='" + workerSex + '\'' +
				", workerNation='" + workerNation + '\'' +
				", workerCard='" + workerCard + '\'' +
				", workerAddress='" + workerAddress + '\'' +
				", provinceName='" + provinceName + '\'' +
				", cityName='" + cityName + '\'' +
				", districtName='" + districtName + '\'' +
				", workerCode='" + workerCode + '\'' +
				", residentialAddress='" + residentialAddress + '\'' +
				", workerProvince='" + workerProvince + '\'' +
				", workerPhone='" + workerPhone + '\'' +
				", politicsStatus='" + politicsStatus + '\'' +
				", sosName='" + sosName + '\'' +
				", sosPhone='" + sosPhone + '\'' +
				", sosRelation='" + sosRelation + '\'' +
				", projectId=" + projectId +
				", subcontractorsId=" + subcontractorsId +
				", subcontractorsName='" + subcontractorsName + '\'' +
				", professionId=" + professionId +
				", professionName='" + professionName + '\'' +
				", teamId=" + teamId +
				", teamName='" + teamName + '\'' +
				", entryDate=" + entryDate +
				", leaveDate=" + leaveDate +
				", sceneStatus='" + sceneStatus + '\'' +
				", remark='" + remark + '\'' +
				'}';
	}
}
